home *** CD-ROM | disk | FTP | other *** search
- THESE DEMOS ARE PROVIDED IN THE FORM OF SOURCE CODE. You must build a project
- file to execute a demo. Two example project files are provided to help you get
- started, but filenames may differ on your system, so even they may need some
- modification. Moreover, be aware that some of the demos have been tested only
- on the Macintosh platform, and may act strangely on PCs.
-
-
- test_loc
-
- This program places the keyboard in RAW EVENT mode, and continuously displays
- the deluxe locator measure. It is an excellent way to get to know SRGP's
- locator. If it looks like the modifier chord and timestamp aren't working, you
- may want to re-read the reference manual's section on input carefully; they are
- supposed to reflect conditions as of the most recent mouse-button state change.
-
- You use the keyboard to control the locator's mode:
- i -- inactive
- s -- sample (display is updated 3 times a second)
- e -- event
-
- You also use the keyboard to control the echo attribute:
- c -- cursor
- l -- rubber line
- r -- rubber rect
-
- You can control the button mask in this way:
- 1 -- toggles the status of the LEFT button in the button mask
- ... etc. ... for 2 (MIDDLE) and 3 (RIGHT)
-
- You quit by typing:
- q -- QUIT
-
-
- showpat
-
- Simply displays all the built-in patterns and their corresponding indices.
- Again, made for the Mac II screen.
-
-
- testrubb
-
- The left mouse button adds a new line to the screen. The right mouse button
- just changes the current anchor point. Entering a 'Q' on the keyboard quits.
-
-
- testpain
-
- Each mouse button paints a different primary color. Holding down more than one
- mouse button produces a "blend" of primary colors. Basically shows the use of
- the locator in sample mode. (NOTE: it works even on monochrome screens,
- because of its use of patterns as a secondary attribute.)
-